package com.mhys.hms.entity;

import java.util.Date;

public class Train {
	private Integer tId;
	private String trainPosition;
	private String trainTitle;
	private Date trainTime;
	private String trainAdd;
	
	public Integer gettId() {
		return tId;
	}
	public void settId(Integer tId) {
		this.tId = tId;
	}
	public String getTrainPosition() {
		return trainPosition;
	}
	public void setTrainPosition(String trainPosition) {
		this.trainPosition = trainPosition;
	}
	public String getTrainTitle() {
		return trainTitle;
	}
	public void setTrainTitle(String trainTitle) {
		this.trainTitle = trainTitle;
	}
	public Date getTrainTime() {
		return trainTime;
	}
	public void setTrainTime(Date trainTime) {
		this.trainTime = trainTime;
	}
	public String getTrainAdd() {
		return trainAdd;
	}
	public void setTrainAdd(String trainAdd) {
		this.trainAdd = trainAdd;
	}


	@Override
	public String toString() {
		return "Train[tId="+tId+
					", trainPosition="+trainPosition+
					", trainTitle="+trainTitle+
					", trainTime="+trainTime+
					", trainAdd="+trainAdd+"]";
	}
}



